home *** CD-ROM | disk | FTP | other *** search
/ CyberMycha 2008 January / Cybermycha 1_2008.iso / Data.cab / _0786D3809A8F4804B92E2124F2B8B0B7 < prev    next >
Encoding:
Text File  |  2004-07-27  |  1.7 KB  |  84 lines

  1. // $TEXTURE1
  2. // $TEX1OPTIONSFILE
  3. // $SPECPOW
  4. // $REFL_STRENGTH
  5. // $CULLING
  6.  
  7.  
  8. // GF 3
  9.  
  10. shader()
  11. {
  12.     pass()
  13.     {
  14.         Lighting()
  15.         Vertexshader("CarG_Menu_ps11.vsh")
  16.         Pixelshader("CarG_Menu_ps11.psh")               
  17.  
  18.         !include("__tex1menu.mtt")
  19.  
  20.         !include("__MenuDiffuseCubeMap.mtt")
  21.         !include("__MenuCubeMap.mtt")
  22.  
  23.         TFactor(0.0, 0.0, REFL_STRENGTH, 1.0) 
  24.         BlendFunc("one", "inv_src_alpha")
  25.     }
  26.     sortweight("depth_sorted")
  27.     Cull(CULLING)
  28. }
  29.  
  30.  
  31. // GF 2
  32. shader()
  33. {
  34.     ShaderQuality(0)
  35.     pass()
  36.     {
  37.         Lighting()
  38.         tmu()
  39.         {
  40.             Texture()
  41.             {
  42.                 Mapchannel(0)
  43.                 Image(TEXTURE1)
  44.                 !include(TEX1OPTIONSFILE)
  45.                 lodbias(-1.0)                
  46.             }
  47.             ColorOp("arg1", "texture", "current", "current")
  48.             AlphaOp("arg1", "texture", "current", "current")
  49.         } 
  50.         tmu()
  51.         {
  52.             TexGen("normal")
  53.             Texture()
  54.             {
  55.                 Cubemap("MenuDiffuseCubemap.dds")
  56.             }
  57.             ColorOp("mul", "texture", "current", "current")
  58.             AlphaOp("arg1", "current", "current", "current")
  59.         }
  60.         BlendFunc("one", "inv_src_alpha")
  61.     }
  62.  
  63.     pass()
  64.     {
  65.         Lighting()
  66.         tmu()
  67.         {
  68.             TexGen("reflection")
  69.             Texture()
  70.             {
  71.                 Cubemap("MenuCubemap.dds")
  72.             }
  73.             ColorOp("mul", "texture", "tfactor_a", "current")
  74.         }             
  75.         TFactor(0.0, 0.0, 0.0, REFL_STRENGTH)         
  76.         BlendFunc("one", "one")
  77.     }
  78.     sortweight("depth_sorted")
  79.     Cull(CULLING)
  80. }
  81.  
  82.  
  83.  
  84.